#define _CRT_SECURE_NO_WARNINGS
#include "BinaryTree.h"

int main()
{
	BTNode* Node_A = CreNewNode('A');
	BTNode* Node_B = CreNewNode('B');
	BTNode* Node_C = CreNewNode('C');
	BTNode* Node_D = CreNewNode('D');
	BTNode* Node_E = CreNewNode('E');
	BTNode* Node_F = CreNewNode('F');
	BTNode* Node_G = CreNewNode('G');
	Node_A->left = Node_B;
	Node_A->right = Node_C;
	Node_B->left = Node_D;
	Node_B->right = Node_E;
	Node_C->right = Node_F;
	Node_F->left = Node_G;

	LevelOrder(Node_A);
	TreeDestory(&Node_A);
	return 0;
}